<?php

namespace app\libs\TongtuSDK\Model;

class PaymentInfo
{
    protected string $orderAmount;
    protected string $orderAmountCurrency;
    protected string $paymentAccount;
    protected string $paymentDate;
    protected string $paymentMethod;
    protected string $paymentNotes;
    protected string $paymentTransactionNum;
    protected string $recipientAccount;
    protected string $url;

    /**
     * @return string
     */
    public function getOrderAmount(): string
    {
        return $this->orderAmount;
    }

    /**
     * @param string $orderAmount
     */
    public function setOrderAmount(string $orderAmount): PaymentInfo
    {
        $this->orderAmount = $orderAmount;
        return $this;
    }

    /**
     * @return string
     */
    public function getOrderAmountCurrency(): string
    {
        return $this->orderAmountCurrency;
    }

    /**
     * @param string $orderAmountCurrency
     */
    public function setOrderAmountCurrency(string $orderAmountCurrency): PaymentInfo
    {
        $this->orderAmountCurrency = $orderAmountCurrency;
        return $this;
    }

    /**
     * @return string
     */
    public function getPaymentAccount(): string
    {
        return $this->paymentAccount;
    }

    /**
     * @param string $paymentAccount
     */
    public function setPaymentAccount(string $paymentAccount): PaymentInfo
    {
        $this->paymentAccount = $paymentAccount;
        return $this;
    }

    /**
     * @return string
     */
    public function getPaymentDate(): string
    {
        return $this->paymentDate;
    }

    /**
     * @param string $paymentDate
     */
    public function setPaymentDate(string $paymentDate): PaymentInfo
    {
        $this->paymentDate = $paymentDate;
        return $this;
    }

    /**
     * @return string
     */
    public function getPaymentMethod(): string
    {
        return $this->paymentMethod;
    }

    /**
     * @param string $paymentMethod
     */
    public function setPaymentMethod(string $paymentMethod): PaymentInfo
    {
        $this->paymentMethod = $paymentMethod;
        return $this;
    }

    /**
     * @return string
     */
    public function getPaymentNotes(): string
    {
        return $this->paymentNotes;
    }

    /**
     * @param string $paymentNotes
     */
    public function setPaymentNotes(string $paymentNotes): PaymentInfo
    {
        $this->paymentNotes = $paymentNotes;
        return $this;
    }

    /**
     * @return string
     */
    public function getPaymentTransactionNum(): string
    {
        return $this->paymentTransactionNum;
    }

    /**
     * @param string $paymentTransactionNum
     */
    public function setPaymentTransactionNum(string $paymentTransactionNum): PaymentInfo
    {
        $this->paymentTransactionNum = $paymentTransactionNum;
        return $this;
    }

    /**
     * @return string
     */
    public function getRecipientAccount(): string
    {
        return $this->recipientAccount;
    }

    /**
     * @param string $recipientAccount
     */
    public function setRecipientAccount(string $recipientAccount): PaymentInfo
    {
        $this->recipientAccount = $recipientAccount;
        return $this;
    }

    /**
     * @return string
     */
    public function getUrl(): string
    {
        return $this->url;
    }

    /**
     * @param string $recipientAccount
     */
    public function setUrl(string $url): PaymentInfo
    {
        $this->url = $url;
        return $this;
    }

    public function toArray()
    {
        return [
            'orderAmount'=>$this->getOrderAmount(),
            'paymentDate'=>$this->getPaymentDate(),
            'paymentMethod'=>$this->getPaymentMethod(),
            'paymentTransactionNum'=>$this->getPaymentTransactionNum(),
            'recipientAccount'=>$this->getRecipientAccount(),
            'orderAmountCurrency'=>$this->getOrderAmountCurrency(),
        ];
    }

}
